package cn.ubeta.b2c.utils;

/**
 * Created by denny on 16/8/18.
 */

public class DeviceInfoHelper {

    /**
     * 根据宽高比和屏幕宽度获取动态高度
     * @param ratio
     * @return
     */
    public static int getHeightByRadio(double ratio) {
        return (int) (480 * ratio);
    }
}
